|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvectorimage.GVectorObject
raar.vectorimagex.RAGAgentTrace
public class RAGAgentTrace
A vector image representation of an agent trace.
| Constructor Summary | |
|---|---|
RAGAgentTrace(RAAgent src)
Construct this object. |
|
| Method Summary | |
|---|---|
void |
addTrace(java.awt.geom.Point2D.Double trace)
Add a trace. |
java.awt.Color |
getColor()
Return the trace colour. |
java.awt.Shape |
getShape()
Return the shape. |
java.util.Vector |
getTraces()
Return the traces. |
boolean |
isFilled()
This is a path; draw only the path and not the filling area. |
boolean |
isPerceivable()
We cannot see traces with the agent's sensors. |
static void |
setMaximumTraceLength(long l)
Set the maximum trace length. |
void |
untrace()
Delete all traces. |
| Methods inherited from class vectorimage.GVectorObject |
|---|
createGVectorObject, getObject, getOpacity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RAGAgentTrace(RAAgent src)
| Method Detail |
|---|
public java.awt.Color getColor()
getColor in class GVectorObjectpublic void addTrace(java.awt.geom.Point2D.Double trace)
public java.util.Vector getTraces()
public void untrace()
public static void setMaximumTraceLength(long l)
public java.awt.Shape getShape()
getShape in class GVectorObjectpublic boolean isFilled()
isFilled in class GVectorObjectpublic boolean isPerceivable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||